package net.maku.events.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
import net.maku.framework.mybatis.entity.BaseEntity;

import java.util.Date;

/**
 * 用户所答竞赛题选项
 *
 * @author 阿沐 babamu@126.com
 * @since 1.0.0 2025-03-22
 */

@Data
@TableName("user_contest_question_option")
public class UserContestQuestionOptionEntity extends BaseEntity {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 用户答题的题目id
     */
    private Long userContestQuestionId;

    /**
     * 竞赛答题id
     */
    private Long contestQuestionId;

    /**
     * 竞赛答题id
     */
    private Long questionId;

    /**
     * 竞赛答题选项id
     */
    private Long contestOptionId;

    /**
     * 选项id
     */
    private Long optionId;

    /**
     * 选项标题
     */
    private String optionTitle;

    /**
     * 是否是正确答案
     */
    private Integer whetherCorrectAnswer;

    /**
     * 是否选中
     */
    private Integer whetherSelected;

    /**
     * 租户ID
     */
    private Long tenantId;

}